package cn.codergege.packagename.dao;

import java.util.List;

import cn.codergege.packagename.model.Employee;

public interface EmployeeMapper {
    int deleteByPrimaryKey(Integer id) throws Exception;

    int insert(Employee record) throws Exception;

    int insertSelective(Employee record) throws Exception;

    Employee selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Employee record) throws Exception;

    int updateByPrimaryKey(Employee record) throws Exception;
    
    List<Employee> getAll();
}